<%@ page language="java" contentType="text/html; charset=ISO-8859-1"
	pageEncoding="ISO-8859-1"%>
<!DOCTYPE html>
<html>
<head>

<meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1">
<link rel="stylesheet" type="text/css" href="/vraptor-blank-project/bootstrap/css/estilo.css">
<link rel="stylesheet" type="text/css"
	href="/vraptor-blank-project/bootstrap/css/bootstrap.min.css">
<title>Editar Usuario</title>
	
</head>
<body>
<div class="jumbotron" id="jumbotron">
<h1>Alterar dados do perfil</h1>
</div>
<div class="container">
<div class="form-horizontal col-md-4 col-sm-offset-4">
	<div class="panel panel-default">
	<div class="panel-heading"id=panel>Alterar Perfil</div>
	<div class="panel-body">
	<form action="${linkTo[UsuarioController].save}" method="post" class="col-md-10 col-md-offset-1">
		
		<input type="hidden" name="usuario.id" value="${usuario.id}"/>
		<div class="form-group">
		<label>Nome</label>
		<input class="form-control" name="usuario.nome" value="${usuario.nome}" placeholder="Editar nome"/>
		</div>
		<div class="form-group">
		<label>Email</label>
		<input class="form-control" name="usuario.login" value="${usuario.login}" placeholder="Editar Login"/>
		</div>
		<div class="form-group">
		<label>Senha</label>
		<input class="form-control" name="usuario.senha" value="${usuario.senha}" placeholder="Editar Senha"/>
		</div>

		
	</form>
	<div class="form-group">
	     <a href="${linkTo[CardapioController].list}"><button  class="btn btn-primary col-md-8 col-md-offset-2" value="Editar">Editar</button></a>
	     <a href="${linkTo[CardapioController].list}"><button class="btn btn-primary col-md-8 col-md-offset-2" value="Cancelar" >Cancelar</button></a>
	    
	     </div>
	</div>
	</div>
	</div>
	</div>

</body>
</html>